import { BaseTableState } from '#/core'
import {
  AddClassifyReq,
  ClassifyItem,
} from '@/api/premium/category/model/classifyModel'

export type ClassifyTableState = BaseTableState<ClassifyItem>
export type AddClassifyDiaForm = Omit<AddClassifyReq, 'type'>
export type EditClassifyDiaForm = Omit<AddClassifyReq, 'type'>

export interface AddClassifyDiaState {
  visiable: boolean
  formData: AddClassifyDiaForm
}
export interface EditClassifyDiaState {
  visiable: boolean
  currentId: string
  formData: EditClassifyDiaForm
}
